package com.dkm.biz.ou.domain;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.biz.domain.AbstractDomain;
import com.dkm.biz.ou.persistence.dao.PartyDao;
import com.dkm.biz.ou.persistence.entity.PartyPo;
import com.dkm.biz.ou.repository.PartyRepository;

/**
 * 对象功能:t_ou_party 领域对象实体
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2016-12-06 18:53:06
 */
@SuppressWarnings("serial")
@Service
@Scope("prototype")
public class Party extends AbstractDomain<String, PartyPo>{
	 
	 private PartyDao partyDao = null;
	 @Resource
	 private PartyRepository  partyRepository;

	protected void init(){
		partyDao = SpringHelper.getBean(PartyDao.class);
		setDao(partyDao);
	}	 
}
